package cn.wolfcode.qo;

import cn.wolfcode.util.UserContext;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author
 * @Date 2021/1/15 8:32
 * @Version 1.0
 * @Name:lzh
 **/
@Getter
@Setter
public class NoticeQueryObject extends QueryObject{

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private Long level;
    private Long userId= UserContext.getCurrentUser().getId();
    private Boolean readStatus;
}
